<html>
<head>
	<title>污区分析选项</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="zh-cn" />
    
	<link href="../../../media/css/default.css" rel="stylesheet" type="text/css" />
	<link href="../../../media/css/jquery/flora.all.css" rel="stylesheet" type="text/css" />

	<script type="text/javascript" src="../../../media/js/jquery/jquery-1.2.6.js"></script>
	<script type="text/javascript" src="../../../media/js/jquery/ui.core.js"></script>
	<script type="text/javascript" src="../../../media/js/jquery/ui.tabs.js"></script>
    <script type="text/javascript" src="../../../media/js/jquery/ui.datepicker.js"></script>
    <script type="text/javascript" src="../../../media/js/tree/js/node_analysis.js"></script>
	<script type="text/javascript" src="../../../media/js/default.js"></script>
<script>
$(document).ready(function(){
    $("#example > ul").tabs();  
	$("#select_lines").css("display", "none");
});
function check_lines(id){
	if(id == 0) $("#select_lines").css("display", "block");
	if(id == 1) $("#select_lines").css("display", "none");
}
function redirect_to_attr(){
	var value = $("input[@name='analysis'][@checked]").val();
	if(value==1){
		showAttribute('area_1');
	}else{
		$("#select_lines").val();
		showAttribute('area_1');
	}
}
</script>
</head>
<body>
    <div id="example" class="flora">
        <ul>
            <li><a href="#fragment-1"><span>污区分析选项</span></a></li>
        </ul>
        <div id="fragment-1">
		是否分析全部线路和变电站
            <form action="" method="get">
				<input type="radio" id="analysis_yes" name="analysis" value="1" onclick="check_lines(1)" checked/>是
				<input type="radio" id="analysis_no" name="analysis" value="0" onclick="check_lines(0)"/>否

					<select id="select_lines">
						<option>1#输电线路</option>
						<option>2#输电线路</option>
					</select>

				<input type="button" value="确定" onclick="redirect_to_attr()"/>
			</form>
        </div>
    </div>
</body>
</html>
